using System;
using System.Collections.Generic;
using System.Text;
using ThatsMeSDK.Core;

namespace ThatsMeSDK
{
	public class Member : IMember
	{
		public void AddAsFriend()
		{
			throw new NotImplementedException();
		}

        #region IMember Member

        public int Id { get; set; }

        public string Nick { get; set; }

        public DateTime Birthday { get; set; }

        public Canton.CantonShortName Canton {get;set;}
        
        public Gender Sex {get; set;}
        
        public Uri ProfilePictureUri {get; set;}
        
        public Uri ProfileUri {get; set;}

        public string RealName { get; set; }

        public List<Member> Friends { get; set; }

        private List<GalleryPicture> gallery;
        public List<GalleryPicture> Gallery 
        {
            get
            {
                if(gallery == null)
                    gallery = Kernel.GetUserPics(Nick);
                return gallery;
            }
            set { gallery = value; }
        }

        public string Description { get; set; }

        private List<GalleryCategory> categories;
	    public List<GalleryCategory> Categories
	    {
	        get {
                if (categories == null)
                    categories = Kernel.GetUserPicCategories(Nick);
                return categories;
            }
            set { categories = value; }
	    }

	    #endregion
    }
}
